const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    // 关闭eslint校验
    lintOnSave: false,
    // 配置devServer
    devServer: {
        // 项目运行的ip
        host: '0.0.0.0',
        // 项目运行的端口号
        port: 9093,
        proxy: {
            '/api': {
                target: 'http://localhost:9092',
                changeOrigin: true,
                pathRewrite: {
                    '^/api': ''
                }
            }
        }
    }
})
